package connection {
import flash.events.EventDispatcher;
import flash.geom.Point;

import geditor.events.ChangeEvent;

public class TempConnectionPoint extends EventDispatcher implements ConnectionPoint {
    var _p:Point;

    public function TempConnectionPoint() {
    }

    public function set p(value:Point):void {
        _p = value;
        dispatchEvent(new ChangeEvent());
    }

    public function get point():Point {
        return _p;
    }

    public function canConnect(conn:ConnectionComponent, start:Boolean):Boolean {
        return true;
    }

    public function get connectable():Connectable {
        return null;
    }
}
}